<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>BmobACL Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1333)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">BmobSDK </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">bmob</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/ACL">+ ACL</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/setPublicReadAccess">- setPublicReadAccess</option>
		
		<option value="//api/name/setPublicWriteAccess">- setPublicWriteAccess</option>
		
		<option value="//api/name/setReadAccessForRole:">- setReadAccessForRole:</option>
		
		<option value="//api/name/setReadAccessForRoleWithName:">- setReadAccessForRoleWithName:</option>
		
		<option value="//api/name/setReadAccessForUser:">- setReadAccessForUser:</option>
		
		<option value="//api/name/setReadAccessForUserId:">- setReadAccessForUserId:</option>
		
		<option value="//api/name/setWriteAccessForRole:">- setWriteAccessForRole:</option>
		
		<option value="//api/name/setWriteAccessForRoleWithName:">- setWriteAccessForRoleWithName:</option>
		
		<option value="//api/name/setWriteAccessForUser:">- setWriteAccessForUser:</option>
		
		<option value="//api/name/setWriteAccessForUserId:">- setWriteAccessForUserId:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">BmobACL Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>BmobACL.h</td>
</tr>
						</tbody></table></div>
					

                    

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/ACL" title="ACL"></a>
	<h3 class="method-title"><code><a href="#//api/name/ACL">+&nbsp;ACL</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>创建BmobACL对象</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype)ACL</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>BmobACL对象</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BmobACL.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setPublicReadAccess" title="setPublicReadAccess"></a>
	<h3 class="method-title"><code><a href="#//api/name/setPublicReadAccess">&ndash;&nbsp;setPublicReadAccess</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置所有人读权限为true</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setPublicReadAccess</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BmobACL.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setPublicWriteAccess" title="setPublicWriteAccess"></a>
	<h3 class="method-title"><code><a href="#//api/name/setPublicWriteAccess">&ndash;&nbsp;setPublicWriteAccess</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置所有人写权限为true</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setPublicWriteAccess</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BmobACL.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setReadAccessForUserId:" title="setReadAccessForUserId:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setReadAccessForUserId:">&ndash;&nbsp;setReadAccessForUserId:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置某个用户读权限为true</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setReadAccessForUserId:(NSString *)<em>userId</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>userId</code></th>
						<td><p>用户的objectId</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BmobACL.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setWriteAccessForUserId:" title="setWriteAccessForUserId:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setWriteAccessForUserId:">&ndash;&nbsp;setWriteAccessForUserId:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置某个用户写权限为true</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setWriteAccessForUserId:(NSString *)<em>userId</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>userId</code></th>
						<td><p>用户的objectId</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BmobACL.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setReadAccessForUser:" title="setReadAccessForUser:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setReadAccessForUser:">&ndash;&nbsp;setReadAccessForUser:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置某个用户的读权限为true</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setReadAccessForUser:(BmobUser *)<em>user</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>user</code></th>
						<td><p>某个BmobUser用户</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BmobACL.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setWriteAccessForUser:" title="setWriteAccessForUser:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setWriteAccessForUser:">&ndash;&nbsp;setWriteAccessForUser:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置某个用户的写权限为true</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setWriteAccessForUser:(BmobUser *)<em>user</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>user</code></th>
						<td><p>BmobUser用户对象</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BmobACL.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setReadAccessForRoleWithName:" title="setReadAccessForRoleWithName:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setReadAccessForRoleWithName:">&ndash;&nbsp;setReadAccessForRoleWithName:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置角色的读权限为true</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setReadAccessForRoleWithName:(NSString *)<em>name</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>name</code></th>
						<td><p>角色名</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BmobACL.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setWriteAccessForRoleWithName:" title="setWriteAccessForRoleWithName:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setWriteAccessForRoleWithName:">&ndash;&nbsp;setWriteAccessForRoleWithName:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置角色的写权限为true</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setWriteAccessForRoleWithName:(NSString *)<em>name</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>name</code></th>
						<td><p>角色名</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BmobACL.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setReadAccessForRole:" title="setReadAccessForRole:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setReadAccessForRole:">&ndash;&nbsp;setReadAccessForRole:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置角色的读权限为true</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setReadAccessForRole:(BmobRole *)<em>role</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>role</code></th>
						<td><p>BmobRole角色对象</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BmobACL.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setWriteAccessForRole:" title="setWriteAccessForRole:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setWriteAccessForRole:">&ndash;&nbsp;setWriteAccessForRole:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置角色的写权限为true</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setWriteAccessForRole:(BmobRole *)<em>role</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>role</code></th>
						<td><p>BmobRole角色对象</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BmobACL.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2015 bmob. All rights reserved. Updated: 2015-10-08</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1333)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>